package com.mall.client.comment;

import java.util.List;

import com.mall.pojo.MallComment;
import com.mall.query.Page;

public interface MallCommentService {
	
	List<MallComment> getMallCommentListByMallId(Long mallId, Integer status, Integer type, Page page);

	int countMallCommentListByMallId(Long mallId, Integer status, Integer type);

	List<MallComment> getMallCommentListByUserId(Long userId, Integer status, Integer type, Page page);

	int countMallCommentListByUserId(Long userId, Integer status, Integer type);

	MallComment getMallCommentById(Long mallCommentId);
	
	void insertMallComment(MallComment mallComment);

}
